import pkuseg

pk_seg = pkuseg.pkuseg(model_name='medicine',
                       user_dict='medical.txt', postag=True)

text = r'一种骨盆开度测量器'
line_list = pk_seg.cut(text)
print(line_list)